package com.pureman.androidapp.design.strategy;

import com.pureman.androidapp.utils.LogUtils;

/**
 * Created by Administrator on 2016/7/20 0020.
 * 实现一个接口，打7折商品
 */
public class SevenPercentStrategy implements PriceStrategy {
    @Override
    public int setPrice(int orgPrice) {
        LogUtils.i("打7折商品");
        return Integer.valueOf(String.valueOf(orgPrice * 0.7));
    }
}
